home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Champak Vol A-4
/
(Vol A-4) Vol. A4.iso
/
Games
/
bratz-estilista.swf
/
scripts
/
DefineSprite_19_LoadStar
/
frame_1
/
DoAction.as
Wrap
Text File
|
2008-03-17
|
432b
|
18 lines
function moveMe()
{
distance += accel -= daccel;
_rotation = _rotation + accel * 5;
this._x = x + Math.cos(angle) * distance;
this._y = y + Math.sin(angle) * distance;
this._alpha = accel * 20;
if(accel <= 0)
{
removeMovieClip(this);
}
}
var distance = 0;
!!baccel ? null : (baccel = 5);
!!daccel ? null : (daccel = 0.2);
var accel = random(baccel) + 5;
setInterval(this,"moveMe",30);